package org.example.myleet.p947;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(5 == solution.removeStones(new int[][]{{0,0},{0,1},{1,0},{1,2},{2,1},{2,2}}));
        Assert.isTrue(3 == solution.removeStones(new int[][]{{0,0},{0,2},{1,1},{2,0},{2,2}}));
        Assert.isTrue(0 == solution.removeStones(new int[][]{{0,0}}));
        Assert.isTrue(2 == solution.removeStones(new int[][]{{0,1},{1,0},{1,1}}));
        Assert.isTrue(5 == solution.removeStones(new int[][]{{0,1},{1,2},{1,3},{3,3},{2,3},{0,2}}));
    }
}
